#!/usr/bin/zsh

for i in {1..10}; do
  {
    # shellcheck disable=SC1072
    # shellcheck disable=SC1073
    # shellcheck disable=SC1028
    # shellcheck disable=SC1035
    # shellcheck disable=SC1020
    # shellcheck disable=SC2077
    # shellcheck disable=SC2004
    # shellcheck disable=SC1010
    # shellcheck disable=SC2034
    temp=$(($i%2))


    if [ $temp -eq 0 ];then
      echo "$i"
      echo "$i" >> ./t.txt

    fi
  }
done
